package com.lgx.common.dao;

import com.lgx.common.entity.Image;
import com.lgx.common.exception.DataException;

public interface IImageDao {

	public Image createImage(Image image) throws DataException;
	public Image updateImage(Image image) throws DataException;
	public void deleteImage(Image image) throws DataException;
	public void deleteImage(String id) throws DataException;
	
	public void deleteImageByFilePath(String filePath) throws DataException;
	
	public Image findImageById(long id);
}
